from rest_framework.serializers import ModelSerializer
from  rest_framework import  serializers
from meiduo01.models import *
class HomeSer(ModelSerializer):
    class Meta:
        model = Category
        fields = '__all__'
class GoodsSer(ModelSerializer):
    class Meta:
        model = Goods
        fields = '__all__'